﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Syspetro.Public.Enums
{
    /// <summary>
    /// 币种-一级目录
    /// </summary>
    public enum Coin
    {
        [Description("FIL")]
        FIL = 10001,
        [Description("BTC")]
        BTC = 10002,
        [Description("ETH")]
        ETH = 10003,
        [Description("XCH")]
        XCH = 10004,
        [Description("USDT")]
        USDT = 10005,
        [Description("TRX")]
        TRX = 10006,
        [Description("CCP")]
        CCP = 10007,
    }
    /// <summary>
    /// 合约
    /// </summary>
    public enum CoinContract
    {
        [Description("USDT_ERC20")]
        USDT_ERC20 = 11001,
        [Description("USDT_TRC20")]
        USDT_TRC20 = 11002,
        [Description("FIL")]
        FIL = 10001,
        [Description("BTC")]
        BTC = 10002,
        [Description("ETH")]
        ETH = 10003,
        [Description("XCH")]
        XCH = 10004,
        [Description("TRX")]
        TRX = 10006,
        [Description("CCP")]
        CCP = 10007,
    }


    /// <summary>
    /// 收益类型
    /// </summary>
    public enum ProfitType
    {
        [Description("算力收益")]
        PowerProfit = 40001,
        [Description("推广收益")]
        ExtensionProfit = 40002,
        [Description("节点收益")]
        NodeProfit = 40003,
        [Description("质押释放")]
        PledgeRelease = 40004,
    }
    /// <summary>
    /// 账单类型
    /// </summary>
    public enum BillType
    {
        #region 收入
        [Description("充值")]
        Recharge =50001,
        [Description("算力收益")]
        PowerIncome =50002,
        [Description("线性释放")]
        IinearRelease =50003,
        [Description("质押释放")]
        PledgeRelease =50004,
        [Description("团队收益")]
        TeamIncome = 50005,
        [Description("推荐收益")]
        PassIncome = 50006,
        [Description("内转收入")]
        TransferIncome = 50007,
        [Description("代理收益")]
        AgentIncome = 50008,
        #endregion

        #region 支出
        [Description("提现")]
        Withdrawal = 50008,
        [Description("购物支出")]
        Shopping = 50009,
        [Description("维护")]
        Uphold = 50010,
        [Description("Gas")]
        Gas = 50011,
        [Description("质押")]
        Pledge = 50012,
        [Description("内转支出")]
        TransferExpend = 50013,
        #endregion
    }
    /// <summary>
    /// 交易状态
    /// </summary>
    public enum TradeType
    {
        [Description("默认")]
        Default,
        [Description("待审核")]
        Verify,
        [Description("确认中")]
        Confirm,
        [Description("已完成")]
        Complete,
        [Description("失败")]
        Fail
    }
}
